package com.travel.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 联系信息对象 contact_info
 * 
 * @author lyj
 * @date 2024-04-04
 */
public class ContactInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** email */
    private String email;

    /** topic */
    private String topic;

    /** content */
    private String content;

    /** name */
    private String name;

    /** phone */
    private String phone;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setTopic(String topic)
    {
        this.topic = topic;
    }

    public String getTopic() 
    {
        return topic;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("email", getEmail())
            .append("topic", getTopic())
            .append("content", getContent())
            .append("name", getName())
            .append("phone", getPhone())
            .toString();
    }
}
